home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / unix / amiga / 375 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.5 KB

  1. Path: risc.upol.cz!news
  2. From: Frantisek Dufka <dufkaf@risc.upol.cz>
  3. Newsgroups: comp.unix.amiga
  4. Subject: Can UNIX coexist with AmigaDOS? Porting UNIX under AmigaDOS
  5. Date: Fri, 09 Feb 1996 17:24:41 +0100
  6. Organization: Palacky University Olomouc
  7. Message-ID: <311B7549.7074729B@risc.upol.cz>
  8. NNTP-Posting-Host: phoenix.upol.cz
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0b5 (X11; I; Linux 1.3.6 i486)
  13.  
  14. Hello ladies and gentlemen,
  15.  
  16. I just had an idea. Running UNIX under AmigaDOS. I'd like to ask you -
  17. developers and experienced users of Linux, NetBSD and AmigaDOS, if it could be
  18. done in a relatively simple way.
  19.  
  20. Many people like idea of running AmigaDOS applications under Linux or NetBSD.
  21. Couple of them thought about writing Amiga DOS emulator. Maybe somebody
  22. started. But I'm sure nobody finished. Because it is almost impossible.
  23. AmigaDOS is too much tied to hardware. To port this you have to rewrite
  24. almost all the 0.5 MB ROM code to take care of UNIX environment. This could take
  25. years of hard work!
  26.  
  27. But porting UNIX is far more simple, it is written to be portable. AmigaDOS do
  28. not use MMU, so it is free for UNIX.
  29.  
  30. My idea is Linux or NetBSD running as one task (or few tasks) under AmigaDOS
  31. like PC-Task or Shape Shifter.
  32.  
  33. All we have to do, to port Linux-m68k or NetBSD-Amiga is to rewrite kernel core
  34. to not to take over hardware, i.e. not using interrupts and timers directly, but
  35. using AmigaDOS instead (timer.device, interrupt handlers). MMU and scheduling
  36. stuff can stay almost unchanged.
  37.  
  38. Then all lowlevel kernel drivers - console, scsi, ide, serial, .. etc. have to
  39. be rewritten to use AmigaDOS devices. This will, by the way IMHO, reduce kernel
  40. size.
  41. All other things like networking, filesystems will stay unchanged.
  42.  
  43. AmigaDOS task switching and interrupt handling should be probably also
  44. patched a bit, to restore back MMU tables to normal Amiga memory layout (but
  45. protecting UNIX memory of course).
  46.  
  47. I'd like to ask you programmers and kernel hackers
  48.  
  49. How much of the NetBSD or Linux kernel sources should be really changed?
  50. Are there any problems which make it hard or impossible ?
  51. What about system overhead ?
  52. Is it worth of all the work ?
  53.  
  54. Any opinions ?
  55.  
  56.  
  57. Frantisek Dufka, age 21
  58. Computer Science student                     e-mail :  dufkaf@risc.upol.cz
  59. Palacky University
  60. Czech Republic                 C64, A500, A1200 68030/28Mhz 8+2MB 1.2G HD
  61.  
  62.          Reality is for people who can't face science fiction
  63.